package com.xiaomo.gitee.datamanager.dto.image;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Schema(description = "用于向后端传递图片筛选信息",name = "图片筛选数据传输模型",title = "图片筛选数据传输模型")
@Data
public class FilterImageDTO implements Serializable {

    @Schema(
            title = "tagsId",
            description = "标签ID列表",
            format = "array",
            example = "[1,2,3]",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private List<Long> tagsId;

    @Schema(
            title = "page",
            description = "页码,服务端返回具体页码图片数据",
            format = "number",
            example = "2",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private Integer page;

    @Schema(
            title = "amountPerPage",
            description = "每页显示图片数量",
            format = "number",
            example = "20",
            requiredMode = Schema.RequiredMode.REQUIRED
    )
    private Integer amountPerPage;

    @Serial
    private static final long serialVersionUID = 1L;

}
